import Vue from 'vue'
import VueRouter from 'vue-router'

import  AppA from './spaApp01.vue'
import  AppB from './spaApp02.vue'
import  AppC from './spaApp03.vue'


const routes = [
  { path: '/', component: AppA },
  { path: '/b', component: AppB },
  { path: '/c', component: AppC}
];

Vue.use(VueRouter)

const router = new VueRouter({
  routes:routes
})

new Vue({
  router: router
}).$mount('#example')
